package com.guigu.www.tangyingmeng.service;

import com.guigu.www.pojo.*;

import java.util.List;
import java.util.Map;

public interface TymWrokService {

    //分页查询所有方案
    PageVo<Intervention> selworkall (Map<String,String> map);

    //执行方案
    Boolean statemethod(Integer id);

    //中止方案
    Boolean stopmethod(Integer id);

    //删除方案
    Boolean delwork(Integer id);

    //查询单个方案详情
    Intervention selworkone(Integer id);

    //查询所有干预方案模板
    List<InterventionTemplate> seltemplateall();

    List<TemplateWholesome> selwhoall();

    List<KeepZong> selkeepall();

    List<FoodZong> selfoodall();

    Boolean upwork(Intervention intervention);
}
